• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Google Analytics Code Dissapears

june

💖 Chevereto Fan
🎯Description of the issue

Google Analytics code won't insert. Every time I paste the analytics code, it removes one line.

This is the full code try to add and after I hit the save button, it reloads the page

Code:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-REDACTED-7"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-REDACTED-7');
</script>

and this line is missing

Code:
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-REDACTED-7"></script>


Please check this screen rec



▶🚶‍Reproduction steps
  1. Go to /dashboard/settings/external-services and paste the full code
😢Unexpected result

The script tag is missing but only one of them

📃Error log message

Code:
[31-Oct-2018 15:31:48 America/Santiago] PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'upldim_chev.chv_redirects' doesn't exist in */lib/G/classes/class.db.php:180
Stack trace:
#0 */lib/G/classes/class.db.php(180): PDOStatement->execute()
#1 */lib/G/classes/class.db.php(205): G\DB->exec()
#2 */app/lib/classes/class.redirect.php(30): G\DB->fetchSingle()
#3 */app/lib/classes/class.redirect.php(35): CHV\Redirect::get('/robots.txt')
#4 */app/lib/classes/class.redirect.php(57): CHV\Redirect::getUrl('/robots.txt')
#5 */app/loader.php(810): CHV\Redirect::handle('/robots.txt')
#6 */lib/G/classes/class.handler.php(137): CHV\{closure}(Object(G\Handler))
#7 */app/loader.php(818): G\Handler->__construct(Array)
#8 */index.php(20): include_once('/p...')
#9 {main}
 
works fine here, when i pasted the code, the script code stayed in the box with rest of codes.

So your problem could be missing table.
 
Last edited:
On a side note, it seems like entry was completed in DB and my analytics is working now but the dashboard is still missing that one line
 
Back
Top