Test Project for future work: Save URL UTM parameters & update Form fields with those values
$20-120 USD
Closed
Posted over 6 years ago
$20-120 USD
Paid on delivery
GOAL
Save _utm parameters (from google advertising, etc.) to browser cookies so we can read them back and add them to a subscription FORM the user submits. That way we know the analytics source of the Form submission.
NOTE: if you know if a way to retrieve the google analytics _utm values with some Google Analytics API call, we can discuss using that again.
I am looking for a skilled .js/php (LAMP stack) developer for maintaining and expanding a successful webapp. This is a test project. (This is code that will be used, but it's small enough to be a good test to see how we BOTH work together)
_____________________
DETAILED SPECS
Variables:
Prefix ="_"; // this is a prefix we prepend to the parameter name so we avoid a namespace conflict with the existing name.
OverwriteExisting: true or false // If false, then if there is an existing cookie value already saved, we do not overwrite it. If true, then it's ok to overwrite any existing cookies
1. Save the following: utm_ parameters in website url to cookies:
utm_source, utm_campaign, utm_content, utm_medium, utm_term
2. Retrieve them on another page (same website) and update Form field values in the attached Form.
A copy of the form is also live at: [login to view URL]
3. The Cookie name and will have a Prefix (it'll be a variable so we can change it later,call it Prefix). This will initially be set to '_' but should be something we can change in the .js
4. TESTS to run
(Please provide me with an email address. I will have the Form Results emailed to you.)
Do these tests with a fresh iconito browser. You can simulate landing on one page (with ?utm parameters) and then visiting another page by reloading the form page without the ?utm parameters.
a. Land (first visit) with no parameters (should not set any of the form values)
b. Land w/ utm parameters and DONT ovewrite. Land again with different utm_parameters. Submit form. Should submit the FIRST set of utm_ parameters.
c. Repeat (b) with DO OVERWRITE. Should submit the SECOND set of utm_parameters
d. Thanks for being detail oriented. Please include in your bid "read d.".
EXAMPLE:
ASSUME:
Prefix='_';
OverwriteExisting=false;
So if someone visits with:
[login to view URL]
then the user then clicks around to different pages and then fills out a form.
On that form (attached), for the field with label _utm_source we will set that field value to our cookie for _utm_source.
If the cookie value is empty (or doesn't exist) then do not change the value of the Form field.
RESOURCES
This git hub project has code that does a lot of the above:
[login to view URL]
,
Hello! I have 15 years of experience and will be happy to work on this project.
Odpowiednie Umiejętności i Doświadczenie
Mos of website that I made are custom, so this job will be easy for me.
Zaproponowane płatności Milestone
$188 USD - Milestone