-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Ads #269
Comments
Can you link docs for the tracker? |
Hello, maybe it will not be necessary to add a different lib, because it seems to be the case that google is saying to just use the tag manager to track events from AdWords, I will link a few pages just in case. GoogleAds 1 It seems they are saying to use something like gtag('event', 'conversion', {
'send_to': 'AW-CONVERSION_ID/AW-CONVERSION_LABEL',
'value': 1.0,
'currency': 'USD'
}); Instead of <!-- Put this script in your <head> -->
<script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion_async.js" charset="utf-8"></script>
<!-- the rest of your web page as usual etc -->
<!-- Call this function when the form submits -->
<script type="text/javascript">
/* <![CDATA[ */
window.google_trackConversion({
google_conversion_id: 123456789,
google_conversion_label: abcdefghijkl, // if provided, remove this line if not provided
google_conversion_value: 0, // or the dollar value of this conversion, e.g. 100 etc.
google_remarketing_only: false
});
//]]> But, to be honest, I am still confused if they are the same thing |
Closing this |
🆒 Your use case
I use Google Ads to track conversions
🆕 The solution you'd like
Something similar to Facebook Pixel or Google Tag Manager
🔍 Alternatives you've considered
No response
ℹ️ Additional info
Site: ads.google.com
The text was updated successfully, but these errors were encountered: