Clicking "Prepend the site domain" not saved


#1

Hi,
I have installed latest Piwik version but I have an issue when cliking on “Prepend the site domain to the page title when tracking” in “Tracking code” section.

The selection is not saved. If I reload the page, checkbox remains unchecked.

When looking at network messages, when clicking on checkbox, I see 2 messages sent to the server, the first being cancelled.

In message FormData I see:

piwikUrl: my_piwik_url
groupPageTitlesByDomain:1
mergeSubdomains:0
mergeAliasUrls:0
customCampaignNameQueryParam:
customCampaignKeywordParam:
doNotTrack:0
disableCookies:0
token_auth: XXX

There is no error in my http error_log.

For info I am on CentOS 6/ php 5.4

Thanks


(Matthieu Aubry) #2

Hi there
Actually it is normal that it’s not saved. when you click the checkbox it updates the code box below. Then you can copy paste the code.

I created an issue so we improve the product to make this clear JavaScript Tracking Code: when a checkbox is clicked, make it clear the JS code was updated · Issue #7251 · matomo-org/piwik · GitHub