Add tracking to purchase membership link
This commit is contained in:
1 parent
e54c950cb0
commit
5592be0e4e
2 files changed
+4
-3
No files matched your search
+2
-1
@@ -1,2 +1,3 @@
|
||||
EVENT_API_URL=https://studentersamfundet.no
|
||||
DUSKEN_API_URL=https://galtinn.neuf.no
|
||||
DUSKEN_API_URL=https://galtinn.neuf.no
|
||||
DUSKEN_PURCHASE_URL=https://galtinn.neuf.no/?utm_source=purchase-button&utm_medium=app
|
||||
@@ -1,6 +1,7 @@
|
||||
import React, {Component} from 'react';
|
||||
import {ScrollView, Text, View, Linking, StyleSheet, Platform} from "react-native";
|
||||
import {Button, Text as NBText} from "native-base";
|
||||
import Config from 'react-native-config';
|
||||
|
||||
export default class Membership extends Component {
|
||||
render() {
|
||||
@@ -30,8 +31,7 @@ export default class Membership extends Component {
|
||||
};
|
||||
|
||||
onPurchasePress() {
|
||||
// FIXME: Move this to .env as DUSKEN_URL
|
||||
Linking.openURL('https://galtinn.neuf.no');
|
||||
Linking.openURL(Config.DUSKEN_PURCHASE_URL);
|
||||
};
|
||||
|
||||
onLoginPress = () => {
|
||||
|
||||
Reference in new issue
Block a user