JavaScript snippet to populate hidden tracking fields via JSON API
- or -
Post a project like this1408
£65(approx. $82)
- Posted:
- Proposals: 3
- Remote
- #2854247
- Awarded
Description
Experience Level: Entry
I am moving to a new 3rd part list provider.
My previous provider (Aweber) automatically captured the URL and user location from where a form was submitted.
We have multiple websites / domains. So I need the ability for an individual form to capture the URL and user location info and send this via hidden formfield to the new mailing list provider.
The forms I am using are basic HTML5. Here is an example of what I need to happen:
Email Address *
For reference, all of my websites are on Wordpress. I do have a plugin that allows me to display on a page the URL, but I am unable to workout how to get a shortcode to work in a hidden form field.
I don't mind adding a line of javascript to my theme files, but I'm not looking for a solution that requires me to edit all my functions.php files (I already know how to do it this way, but it's too much hassle across many websites)
You may have a better solution than this any way.
My previous provider (Aweber) automatically captured the URL and user location from where a form was submitted.
We have multiple websites / domains. So I need the ability for an individual form to capture the URL and user location info and send this via hidden formfield to the new mailing list provider.
The forms I am using are basic HTML5. Here is an example of what I need to happen:
Email Address *
For reference, all of my websites are on Wordpress. I do have a plugin that allows me to display on a page the URL, but I am unable to workout how to get a shortcode to work in a hidden form field.
I don't mind adding a line of javascript to my theme files, but I'm not looking for a solution that requires me to edit all my functions.php files (I already know how to do it this way, but it's too much hassle across many websites)
You may have a better solution than this any way.
Charles V.
100% (2)Projects Completed
3
Freelancers worked with
3
Projects awarded
50%
Last project
27 May 2020
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies