With MadSpend, you can determine predicted value of each lead and bid more Google Adwords ad spend on higher-value leads.
Technical Setup
Here's the technical documentation to get you set up in terms of sending the MadKudu predicted value to Google Adwords.
-
Create a conversion event on Google Adwords (here's Google's documentation on how to do this).
-
Conversion Name and Category = "Purchase"
-
Important to select "Use different values for each conversion" for the Value field
-
-
Install the Google Adwords tag on your website.
- There are multiple ways to do this:
- Segment
- Google Tag Manager (documentation)
- Install manually
- There are multiple ways to do this:
-
Create a MadKudu Campaign
-
Enter the URL for which you want to start collecting purchase events from and enter it under the URL section
-
Enter the variable to capture the email address from the form
form.track_input($('input[type=email]'));
Note: important to check how your website captures the email address in the forms, and tweak this line of code accordingly. -
Enter the following code snippet under "What to do when a visitor is found to be qualified" and "What to do when a visitor is found to be NOT qualified" sections
// get all computed attributes from MadKudu var traits = madkudu.user().traits(); // get the predicted lead value var mk_value = traits.predicted_value // send the predicted value back to google as a conversion var gcall = {"transaction_id": madkudu.user().traits().email+'_'+Math.random().toString(36).substr(2, 9),"affiliation": "MadKudu","value": mk_value }; gtag('event', 'purchase', gcall);
-
And voila! You should start seeing the events come through by inspecting the page and clicking on Network on the website page that you've configured this on: The request URL should start with
https://www.google.com/pagead/..
and if you scroll down to the Query String Parameters section, you'll see a value which is the MadKudu predicted value.
-
---
Note that MadKudu is providing the API and technical documentation to get this set up, but you are responsible for measuring success on the campaigns.
If you have any questions, feel free to contact product@madkudu.com. Happy optimizing your Adwords campaigns!
Comments
0 comments
Please sign in to leave a comment.