Skip to content
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]: Tracking tags #502

Merged
merged 1 commit into from
Dec 7, 2023
Merged

[Google ads]: Tracking tags #502

merged 1 commit into from
Dec 7, 2023

Conversation

JosueMagnus12
Copy link
Collaborator

Context

Google ads require the addition of some "Tracking tags" to measure the traffic and conversion rate of the clicks on Giving Connection's ads.

What changed

Added the following tags to the views/layouts/application.html template and the home page (please read here for more information)

Application Layout

<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-11382454124"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-11382454124'); </script> 

Home template

<!-- Event snippet for Website traffic conversion page --> <script> gtag('event', 'conversion', {'send_to': 'AW-11382454124/o0V1CIzO2O8YEOzuybMq'}); </script> 

How to test it

The client will check if these are tracking correctly with their Google ads account.

References

ClickUp ticket

@JosueMagnus12 JosueMagnus12 merged commit e55f875 into main Dec 7, 2023
2 checks passed
@JosueMagnus12 JosueMagnus12 deleted the feature/google-ads-tags branch December 7, 2023 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants