Smart TV Page URL not defined

Hi ,

We are facing “Page URL not defined” in case of smart TV . We are using image pixel for impressions tracking :

Thanks

Does it work with standard browser?
Do you use MTM? Javascript API? HTTP API? Anything else?

Hi,

I think the image pixel gets the URL of the page it is in by looking at the Referrer header sent with the image request. So maybe your smart TV browser doesn’t send Referrer header with images.

1 Like

Thanks .

Using HTTP API:

Impression
www.[matomohosting].com/matomo313/matomo.php?idsite=1&rec=1&send_image=0&apiv=1&c_n=Test&c_p=test&rand={random}

Click
www.[matomohosting].com/matomo313/matomo.php?idsite=1&rec=1&send_image=0&apiv=1&c_n=Test&c_p=test&c_i=TestClick&c_t=test.com&rand={random}

Thanks for the suggestion and looking for testing .

Append the parameters “action_name” with the page_title and “url” with the value of the current URL. Then your pixel doesn’t have to do magic things like reading the page URL from the referrer.

2 Likes