3. Business Objective
Create RFM segments in Google Analytics and use the data to
create remarketing audiences in Google AdWords.
4. How to
Use cookies or dataLayer and GTM to send the sequential
number of the order placed by a customer.
Use this data for RFM analysis.
*If you store it in a cookie – it can be cleared, but you don’t
have to push it from a backend.
5. How to
function() {
return function() {
var d, expires;
var cvalue = '';
// Run the code only if a transaction is found in the data layer
if ({{dlv transaction id}}) {
d = new Date();
d.setTime(d.getTime() + (2*365*24*60*60*1000));
expires = 'expires='+d.toUTCString();
// If the cookie already exists, append not overwrite
if ({{cookie user transactions}}) {
cvalue = {{cookie user transactions}}';
}
document.cookie = 'user_transactions' +
cvalue + 1+
expires + '; path=/';
}
};
}
9. How to
Send customer ids from other systems, such as advertising
platforms, to a custom dimension in GA.
Next, create segments in Google BigQuery using the data
from GA, ad platforms, CRM and/or ERP systems.
Send these segments to an advertising system.
12. How to
Add UserID as a get-parameter to your URLs, then take it to a
URL-type variable in GTM, and finally push the value to the
custom dimension and uid parameter in GA.
13. Send the Data about Offline
Transactions into GA
to Save Money on Retargeting
14. Business Objective
Save money and remarket without annoying your customers,
by not showing remarketing messages to those who purchase
offline.
15. How to
When a customer identified by UserId makes an offline
purchase, send* this data to GA as a custom dimension.
Use this data to exclude such customers from your
remarketing lists.
*Keep in mind data reprocessing, send it via MP as a non-
interaction hit