Project

General

Profile

Actions

Bug #502

closed

IIICOM and associated still shows Datalayer when bookmarked

Added by George Howington about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
02/29/2024
Due date:
% Done:

0%

Estimated time:

Description

THe Datalayer on V3 presents the DL when bookmarked.

Using the Rails applications implementation, this DL should not show after five minutes, or upon refresh.

What's working:
The link to the policy on the sent email does not show the datalayer - Pass
The policies retrieved via client login do not show the datalayer - Pass


Files

clipboard-202402291347-wynkq.png (41.8 KB) clipboard-202402291347-wynkq.png George Howington, 02/29/2024 08:47 PM
clipboard-202402291347-nz8tq.png (198 KB) clipboard-202402291347-nz8tq.png George Howington, 02/29/2024 08:47 PM
clipboard-202402291348-4ygre.png (198 KB) clipboard-202402291348-4ygre.png George Howington, 02/29/2024 08:48 PM

Updated by George Howington about 1 year ago

The following javascript change is implemented (changes highlighted)

The initial access to the receipt page:

Console message upon reload:

Actions #2

Updated by George Howington about 1 year ago

  • Status changed from In Progress to QA

Add timestamp test to verify bookmarked page

Actions #3

Updated by George Howington about 1 year ago

  • Assignee changed from George Howington to Rox McDade

Hi Rox,

This has passed my QA and can be taken live anytime once you green-light.

Time concerns were addressed:
1) I've added javascript similar to AR's to verify if the DL was already sent. This only helps when the user refreshes.
2) Since (1) only solves a refresh, I have also added a 'time test'. If the receipt page is older than 60 seconds, it will skip the datalayer logic completely.

https://13549425-review-334-the-da-0oul7c.staging.mexicoinsuranceonline.com/quote/?aff_id=IIICOM

Please let me know if you have any questions and thank you,
--George

Actions #4

Updated by Rox McDade about 1 year ago

@George I tested this both using the dev link & after making it live. It seems to be working. I would like to wait until next week to close this because up until yesterday I am still not seeing my purchases on GA4. So for some reason, the values have not been pushing. I saw two V3 sales on Feb 29 but they did not match up (or even close) with the policies I purchased. I hope you enjoyed your time off! ;)

Actions #5

Updated by Rox McDade about 1 year ago

  • Status changed from QA to Closed
Actions

Also available in: Atom PDF