Skip to content

Commit

Permalink
Merge pull request #235 from nextgis/utm-parameters
Browse files Browse the repository at this point in the history
Add UTM parameters for better analytics
  • Loading branch information
drnextgis authored Oct 25, 2022
2 parents 782fad2 + bc582f4 commit b1d0dd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qms_service_toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ def show_news(self):
client.set_proxy(*QGISSettings.get_qgis_proxy())

#qms_news = client.get_news()
qms_news = QmsNews({'ru': u'<a href="https://data.nextgis.com/ru?source=qgis">\u0421\u0432\u0435\u0436\u0438\u0435 \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430</a>', 'en': u'<a href="https://data.nextgis.com/en?source=qgis">Fresh geodata</a> for your project'})
qms_news = QmsNews({
'ru': u'<a href="https://data.nextgis.com/ru?source=qgis&utm_source=qgis_plugin&utm_medium=banner">\u0421\u043a\u0430\u0447\u0430\u0439\u0442\u0435 \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0435</a> \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430',
'en': u'<a href="https://data.nextgis.com/en?source=qgis&utm_source=qgis_plugin&utm_medium=banner">Download geodata</a> for your project',
})

if qms_news is None:
self.newsFrame.setVisible(False)
Expand Down

0 comments on commit b1d0dd6

Please sign in to comment.