Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Recommended Event type for Purchase Rule

bindukumari1990
Level 4
Level 4

Hi Team,

 

Can anyone tell me which is the recommended event type for purchase rule, I am using page bottom because data layer is populating late, so Is this is the right approach?

 

Or it can cause in matching the orders the data with the backend data.

 

 

Thanks!

4 Replies
amgup
Level 7
Level 7

@bindukumari1990 If I am right than you are talking about the Event type configuration in the Core extension in a rule in Launch. If yes, than it depends on your implementation for retrieving the values from data layer. You can also use Click or Submit event type by mentioning the appropriate CSS selector as the purchase is made on the click of a button.

You can also check the below doc :-

https://experienceleague.adobe.com/docs/launch/using/extensions-ref/adobe-extension/core-extension/o...

yuhuisg
Community Advisor
Community Advisor

You should use the event type that works best for your implementation. Most of the time, Page Bottom or DOM Ready would work, but we don't know the details of your implementation, so even those event types may not be the right ones for you.

Worse comes to worst, you could use Data Element Changed event type to detect when a particular data element has changed that is essential for purchase tracking, and use that to run your Rule.

bindukumari1990
Level 4
Level 4
@yuhuisg, I have used data element change event type and I am using order_Id data element. So, in checkout page order is null, and once user redirects to order confirmation then order_id is updated. but still the rule is not firing. As we all know before order confirmation there is payment gateway page.
yuhuisg
Community Advisor
Community Advisor
Double-check that your order_id data element is really being set by using the Adobe debugger extension with your web browser. Also, check that your order_id data element uses the "None" storage (I find that that storage type works best if using the data element with the Data Element Changed event type).