Tracking Click Events on HTML Canvas | Adobe Higher Education
Skip to main content
LeoS_Taco
Level 2
March 20, 2018
Beantwortet

Tracking Click Events on HTML Canvas

  • March 20, 2018
  • 3 Antworten
  • 3162 Ansichten

Couldn't really find a satisfactory answer to this anywhere. I'm working to track a web game that we hosting on our site. The issue that I've run into is in tracking events that are generated once game play starts. This is being done through a element, there's nothing hardcoded onto the document or window aside from the typical. I've tried implementing a direct call rule through applying a custom event [(trackGameAction(“insidiouslastkey_game", “play_again”)], but the call isn't appearing on the DOM so DTM is unable to see it. Does anyone have a workaround? DI'm kinda lost as to what I'm able to do here.

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von abhijmis

Hi Leo,

Direct Call Rule should work here as it isn't dependent on DOM rather it is specifically available to be used for those objects which are not part of DOM. Can you debug the site and check if the rule is firing at all? If not, please ensure the event being referred to and the DTM configuration are correctly set including configuration, timing etc.

Let me know.

3 Antworten

abhijmisAdobe EmployeeAntwort
Adobe Employee
March 28, 2018

Hi Leo,

Direct Call Rule should work here as it isn't dependent on DOM rather it is specifically available to be used for those objects which are not part of DOM. Can you debug the site and check if the rule is firing at all? If not, please ensure the event being referred to and the DTM configuration are correctly set including configuration, timing etc.

Let me know.

LeoS_Taco
Level 2
April 5, 2018

Thank you. I'm wondering if it works the same way for Adobe Launch?

jantzen_b
Adobe Employee
Adobe Employee
April 9, 2018

Yes, Launch can use direct call rules just like DTM.

Launch has a few more options for things like SPA frameworks, so you might want to see if there is a built in condition that might accomplish what you're looking for. I can't guarantee that there will be a built in condition since this is somewhat of a unique case.