Database Table for Tracking Code

Permalink
Hi,

I am working with my ad company and they want me to update some ads since they've changed to asynchronous tags. However, when I added the supplied code for the header section underneath my analytics code in the Tracking Code section of settings, it makes it so I can no longer edit anything in Concrete5. Because of this, I can't delete it from Concrete5 and started looking for the code in the database so I could delete that line in the table which houses the tracking codes. But, I don't see it when searching, most of what I find is in the: CollectionVersionBlocksOutputCache, Logs, btContentLocal. Can someone point me to where to look in the database for the tracking codes so I can delete it?

DeviantDeer
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi HMcCarthy,

The tracking codes are stored in a config file called concrete.php.
application\config\generated_overrides\concrete.php

After opening concrete.php, remove this section:
'tracking' => array(
    'code' => 'your tracking code',
    'code_position' => 'bottom',
),
felixb101 replied on at Permalink Reply
felixb101
I tried editing the concrete.php file directly but once I reload the page I still can't see the script being loaded in the developper tools
MrKDilkington replied on at Permalink Reply
MrKDilkington
@felixb101

Are you editing concrete.php to add a tracking code? If so, I recommend using the dashboard page.
Dashboard > System & Settings > SEO & Statistics > Tracking Codes