Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Reset custom variables

$
0
0

@gd83caw1gd wrote:

I like to show usual user flow when tested custom variables like:
_paq.push([‘setCustomUrl’, ‘XXX’]);
_paq.push([‘setDocumentTitle’, ‘My New Title’]);

Is this enough to insert and delete also custom variables?
_paq.push([‘deleteCustomVariables’, ‘page’]);

or I have to put other code like
// remove all previously assigned custom variables, requires Piwik 3.0.2
_paq.push([‘deleteCustomVariables’, ‘page’]);
_paq.push([‘setGenerationTimeMs’, 0]);
_paq.push([‘trackPageView’]);

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles