Below is the code that needs to be added when the user
- Submits a review
/* | |
* action: submit a review | |
* description: fire whenever a user submits a review | |
* url: https://www.rentcity.co/review/thankyou | |
* notes: | |
*/ | |
window.dataLayer = window.dataLayer || []; | |
window.dataLayer.push({ | |
event: "reviewSubmit", | |
data: { | |
reviewInfo: { | |
neighborhood: "{{neighborhood}}", | |
} | |
userInfo: { | |
userId: "{{userId}}", // The user id if assigned | |
emailAddress: "{{emailAddress}}", // The user's email address | |
} | |
}, | |
}); |